package com.nowar.data.strategy.service.impl;

import com.nowar.data.strategy.StrategyBaseRequest;
import com.nowar.data.strategy.StrategyBaseResponse;
import com.nowar.data.strategy.constant.StrategyEnum;
import com.nowar.data.strategy.service.StrategyService;
import org.springframework.stereotype.Component;

/**
 * @Author: 谢无殇。
 * @Date : 2023-03-07 23:34
 */
@Component
public class OrgStrategyService implements StrategyService {
    @Override
    public boolean isMatch(String strategy) {
        return StrategyEnum.ORG_STRATEGY.getStrategy().equals(strategy);
    }

    @Override
    public StrategyBaseResponse handler(StrategyBaseRequest request) {
        return null;
    }
}
